import 'package:flutter_easyloading/flutter_easyloading.dart';

Future<void> showToast(String message) async {
  EasyLoading.showToast(message);
}

Future<void> showLoading(String message) async {
  EasyLoading.show(status: message.isEmpty ? "加载中" : message);
}

Future<void> dismissLoading() async {
  EasyLoading.dismiss();
}
